import "./global.css";
import { appWithTranslation } from "next-i18next";
import type { AppProps } from "next/app";
import { Inter } from "next/font/google";

const font = Inter({ subsets: ["latin"] });

const App = ({ Component, pageProps }: AppProps) => (
  <div id="root">
    <div className={font.className}>
      <Component {...pageProps} />
    </div>
  </div>
);

export default appWithTranslation(App);
